package com.suke.czx.modules.tb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonProperty;


/**
 * 评论点赞表
 *
 * @author developer
 * @email developer@163.com
 * @date 2025-05-17 21:50:44
 */
@Data
@TableName("tb_comment_likes")
public class TbCommentLikes implements Serializable {
    public static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "评论id")
    @JsonProperty(value = "commentLikeId")
    public Integer commentLikeId;

    @ApiModelProperty(value = "点赞用户ID")
    @JsonProperty(value = "userId")
    public Integer userId;

    @ApiModelProperty(value = "被点赞的评论ID")
    @JsonProperty(value = "commentId")
    public Integer commentId;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JsonProperty(value = "createDate")
    public Date createDate;


}
